package jmine.tec.script.persistent.domain;

import bancosys.tec.persist.bussobj.PersistableBusinessObject;

/**
 * Classe base para testes de BO do módulo de scripts persistentes
 * 
 * @author lundberg
 * @param <T>
 */
public abstract class BOBaseTestCase<T extends PersistableBusinessObject> extends jmine.tec.test.testcase.BOBaseTestCase<T> {

    /**
     * Construtor
     */
    public BOBaseTestCase() {
        super();
    }

    /**
     * Construtor
     * 
     * @param name name
     */
    public BOBaseTestCase(String name) {
        super(name);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected int getTestDataSize() {
        return 2;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected String getControllerSpringId() {
        return "scriptController";
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected String[] getResourcesBaseReferencia() {
        return new String[]{ "script-persistence-db.xml" };
    }

    /**
     * {@inheritDoc}
     */
    @Override
    protected String getSpringMainXMLFilename() {
        return "jmine-tec-script-persistence-test.xml";
    }

}
